package ABC;

import java.util.Scanner;

public class Z03135 {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        double[]shu=new double[8];
        double ji=1;
        for (int a=0;a<8;a++){
            System.out.println("输入第"+(a+1)+"个数字");
            shu[a]=in.nextDouble();
            ji=ji*shu[a];
        }
        System.out.println("乘积是："+ji);
    }
}
